package com.gui.collection.list;

import java.util.ArrayList;
import java.util.List;

/**
 * @author guixinglong
 */
public class ArrayListDemo {

    public static void main(String[] args) {
        List<String> list = new ArrayList<>();
        for (int i = 0; i < 10; i++) {
            list.add(String.valueOf(i + 1));
        }
        list.add("A");
        System.out.println(list);
    }
}
